package utils;

import org.apache.commons.lang.StringUtils;

public class ResourceUtils {

	public static String getWebapp(Object obj) {
		return StringUtils.substringBeforeLast(obj.getClass().getClassLoader()
				.getResource("").getPath(), "/WEB-INF");
	}
}
